/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.emergency.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class DrillPlan extends BaseEntity {

    @ApiModelProperty(name = "corpCode",value = "水司code")
    private String corpCode;

    @ApiModelProperty(name = "corpName",value = "水司名称")
    private String corpName;

    @ApiModelProperty(name = "name",value = "演练计划名称")
    private String name;

    @ApiModelProperty(name = "purpose",value = "演练目的")
    private String purpose;

    @ApiModelProperty(name = "manager",value = "演练负责人code")
    private String manager;

    @ApiModelProperty(name = "managerName",value = "演练负责人名称")
    private String managerName;

    @ApiModelProperty(name = "place",value = "演练地点")
    private String place;

    @ApiModelProperty(name = "drillMethod",value = "演练方式，0桌面演练1功能演练2全面演练")
    private Integer drillMethod;

    @ApiModelProperty(name = "drillTime",value = "计划演练时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date drillTime;

    @ApiModelProperty(name = "sponsorDeptCode",value = "主办部门code")
    private String sponsorDeptCode;

    @ApiModelProperty(name = "sponsorDeptName",value = "主办部门名称")
    private String sponsorDeptName;

    @ApiModelProperty(name = "cooperationDeptCode",value = "协办部门code")
    private String cooperationDeptCode;

    @ApiModelProperty(name = "cooperationDeptName",value = "协办部门名称")
    private String cooperationDeptName;

    @ApiModelProperty(name = "contingencyPlanId",value = "应急预案id")
    private String contingencyPlanId;

    @ApiModelProperty(name = "contingencyPlanName",value = "应急预案名称")
    private String contingencyPlanName;

    @ApiModelProperty(name = "remrak",value = "备注")
    private String remrak;

    @ApiModelProperty(name = "participant",value = "参与人员code，可存在多个，存储格式为json")
    private String participant;

    @ApiModelProperty(name = "participantName",value = "参与人员姓名和部门姓名，staffname_deptname，可有多个，存储格式为json")
    private String participantName;

    @ApiModelProperty(name = "status",value = "0：审批中，1：审批完成",required = true)
    private Integer status;

    @ApiModelProperty(name = "isRemove",value = "0：未删除，1：已删除",required = true)
    private Integer isRemove;

    @ApiModelProperty(name = "drillType",value = "演练类型",required = true)
    private String drillType;

    @ApiModelProperty(name = "drillPeopleNum",value = "参与人数")
    private Integer drillPeopleNum;

    @ApiModelProperty(name = "attachment",value = "附件")
    private String attachment;

    @ApiModelProperty(name = "previewAttachment",value = "附件")
    private String previewAttachment;

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getDrillType() {
        return drillType;
    }

    public void setDrillType(String drillType) {
        this.drillType = drillType;
    }

    public Integer getDrillPeopleNum() {
        return drillPeopleNum;
    }

    public void setDrillPeopleNum(Integer drillPeopleNum) {
        this.drillPeopleNum = drillPeopleNum;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Integer getDrillMethod() {
        return drillMethod;
    }

    public void setDrillMethod(Integer drillMethod) {
        this.drillMethod = drillMethod;
    }

    public Date getDrillTime() {
        return drillTime;
    }

    public void setDrillTime(Date drillTime) {
        this.drillTime = drillTime;
    }

    public String getSponsorDeptCode() {
        return sponsorDeptCode;
    }

    public void setSponsorDeptCode(String sponsorDeptCode) {
        this.sponsorDeptCode = sponsorDeptCode;
    }

    public String getSponsorDeptName() {
        return sponsorDeptName;
    }

    public void setSponsorDeptName(String sponsorDeptName) {
        this.sponsorDeptName = sponsorDeptName;
    }

    public String getCooperationDeptCode() {
        return cooperationDeptCode;
    }

    public void setCooperationDeptCode(String cooperationDeptCode) {
        this.cooperationDeptCode = cooperationDeptCode;
    }

    public String getCooperationDeptName() {
        return cooperationDeptName;
    }

    public void setCooperationDeptName(String cooperationDeptName) {
        this.cooperationDeptName = cooperationDeptName;
    }

    public String getContingencyPlanId() {
        return contingencyPlanId;
    }

    public void setContingencyPlanId(String contingencyPlanId) {
        this.contingencyPlanId = contingencyPlanId;
    }

    public String getContingencyPlanName() {
        return contingencyPlanName;
    }

    public void setContingencyPlanName(String contingencyPlanName) {
        this.contingencyPlanName = contingencyPlanName;
    }

    public String getRemrak() {
        return remrak;
    }

    public void setRemrak(String remrak) {
        this.remrak = remrak;
    }

    public String getParticipant() {
        return participant;
    }

    public void setParticipant(String participant) {
        this.participant = participant;
    }

    public String getParticipantName() {
        return participantName;
    }

    public void setParticipantName(String participantName) {
        this.participantName = participantName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsRemove() {
        return isRemove;
    }

    public void setIsRemove(Integer isRemove) {
        this.isRemove = isRemove;
    }

    public String getPreviewAttachment() {
        return previewAttachment;
    }

    public void setPreviewAttachment(String previewAttachment) {
        this.previewAttachment = previewAttachment;
    }

    @Override
    public String toString() {
        return "DrillPlan{" +
                "corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", name='" + name + '\'' +
                ", purpose='" + purpose + '\'' +
                ", manager='" + manager + '\'' +
                ", managerName='" + managerName + '\'' +
                ", place='" + place + '\'' +
                ", drillMethod=" + drillMethod +
                ", drillTime='" + drillTime + '\'' +
                ", sponsorDeptCode='" + sponsorDeptCode + '\'' +
                ", sponsorDeptName='" + sponsorDeptName + '\'' +
                ", cooperationDeptCode='" + cooperationDeptCode + '\'' +
                ", cooperationDeptName='" + cooperationDeptName + '\'' +
                ", contingencyPlanId='" + contingencyPlanId + '\'' +
                ", contingencyPlanName='" + contingencyPlanName + '\'' +
                ", remrak='" + remrak + '\'' +
                ", participant='" + participant + '\'' +
                ", participantName='" + participantName + '\'' +
                '}';
    }
}
